package com.demo.test.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.lang.reflect.Type;

/**
 * @author guojing
 * @describe 对外调用的api标准返回api
 * @datetime 2019/9/18 17:52
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "jar包规则方法定义信息")
public class JarMethodDefinition {

    @ApiModelProperty(required = true, value = "方法释义")
    String methodName;
    @ApiModelProperty(required = true, value = "方法名")
    String method;
    @ApiModelProperty(required = true, value = "方法说明")
    String desc;
    @ApiModelProperty(value = "方法所属class分类")
    String className;

    @ApiModelProperty(required = true, value = "入参")
    MethodParameterPo request;

    @ApiModelProperty(required = true, value = "入参class")
    Type req;

    @ApiModelProperty(required = true, value = "出参class")
    Type res;

    @ApiModelProperty(required = true, value = "出参")
    MethodParameterPo response;

}
